<template>
    <div>
        <header>
            <el-row :gutter="20">
                <el-col :span="3" style="text-align:center">
                    <div class="first-content ">
                        <span @click="goback()">返回</span>
                    </div>
                </el-col>
                <el-col :span="17" style="text-align:center">
                    <div class="first-content ">
                        <span>程序员学习路径</span>
                    </div>
                </el-col>
                <el-col :span="4" style="text-align:center">
                    <div>
                        <div style="display: flex;align-items: center; ">
                            <div class="avatar">
                                <i class="el-icon-user-solid"></i>
                            </div>
                            <div style="color: #C1C1C1;">{{ studentId }}</div>
                        </div>
                    </div>
                </el-col>
            </el-row>
        </header>
        <hr style="margin: 0px auto;width: 100%;" color="#424242">
        <el-main style="padding: 15px;">
            <el-row :gutter="20">
                <el-col :span="2" style="color: #161616;"> .</el-col>
                <el-col :span="20">
                    <span class="second-content" style="font-weight: bold; font-size:16px;">简介</span>
                    <div class="second-content">
                        <span>推荐了一些学习路线图的网址，包括全栈、前端和后端等方向。推荐了一些学习路线图的网址，包括全栈、前端和后端等方向。
                            网址中包含了很多学习材料的链接，非常适合初学者使用。网址中包含了很多学习材料的链接，非常适合初学者使用。</span>
                    </div>
                </el-col>
                <el-col :span="2" style="color: #161616;">.</el-col>
            </el-row>

        </el-main>
        <hr style="margin: 0px auto;width: 100%;" color="#424242">
        <el-main style="padding: 15px 0 0 0; ">
            <el-row :gutter="50">
                <el-col :span="2" style="color: #161616;"> .</el-col>
                <el-col :span="6" class="second-content">
                    <!-- 一个flex:left，一个flex:right -->
                    <el-row :gutter="50">
                        <el-col :span="12" style="white-space: nowrap;">Fronted(前端)</el-col>
                        <el-col :span="12">查看更多</el-col>
                    </el-row>
                    <el-row>
                        <div class="RouteBlocks">
                            <h3>1.HTML</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                        <div class="RouteBlocks">
                            <h3>2.CSS</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                        <div class="RouteBlocks">
                            <h3>3.JavaScript</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                    </el-row>
                </el-col>
                <el-col :span="6" class="second-content" style="white-space: nowrap;">
                    <el-row :gutter="50">
                        <el-col :span="12">Backend(后端)</el-col>
                        <el-col :span="12">查看更多</el-col>
                    </el-row>
                    <el-row>
                        <div class="RouteBlocks">
                            <h3>1.计算机基础</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                        <div class="RouteBlocks">
                            <h3>2.Linux系统</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                        <div class="RouteBlocks">
                            <h3>3.数据库</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                    </el-row>
                </el-col>
                <el-col :span="6" class="second-content">
                    <el-row :gutter="50">
                        <el-col :span="12">C语言</el-col>
                        <el-col :span="12">查看更多</el-col>
                    </el-row>
                    <el-row>
                        <div class="RouteBlocks">
                            <h3>1.C基础语法</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                        <div class="RouteBlocks">
                            <h3>2.C++进阶</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                        <div class="RouteBlocks">
                            <h3>3.计算机基础</h3>
                            <p><a href="https://www.baidu.com/">HTML是网页内容的载体</a></p>
                            <p><a href="https://www.baidu.com/">HTML是用来描述网页的一种语言</a></p>
                            <p><a href="https://www.baidu.com/">掌握HTML是学习前端的基础</a></p>
                        </div>
                    </el-row>
                </el-col>
                <el-col :span="4" style="text-align:center;">
                    <div class="grid-content">查<br>看<br>更<br>多<br>学<br>习<br>方<br>向</div>
                </el-col>
            </el-row>
        </el-main>
    </div>
</template>

<script>
export default {
    data() {
        return {
            visible: false,
            studentId: '',
        }
    },
    methods: {
        goback() {
            // 返回上一级
            this.$router.back()
        },
    },
    async created() {
        this.studentId = this.$store.state.STUDENTID
    },
}
</script>

<style scoped>
.first-content {
    padding: 5px;
    color: beige;
    font-size: 20px;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    min-height: 30px;
}

.avatar {
    width: 30px;
    height: 30px;
    background-color: white;
    font-size: 18px;
    margin: 5px 10px 0 0;
}

.second-content {
    color: white;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;

}

.grid-content {
    width: 45%;
    background-color: #909399;
    padding: 50px 10px;
    border-radius: 60px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    margin: 25px;
    align-items: center;
}

.RouteBlocks {
    margin: 20px 0 0 0;
    border-radius: 25px;
    background-color: #303133;
    width: 67%;
    padding: 3px 15px;
    height: 10.5vw;
}

a {
    text-decoration: none;
    color: white;
}

p {

    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    margin: 12px 0;
    white-space: nowrap;
    background-color: black;
    padding: 4px 10px;
    border-radius: 20px;
    overflow: hidden;
}

h3 {
    margin: 10px 0 0 0;
}
</style>